import { requestGET } from '../tool/request'

/*
 * 1.获取移动端首页的轮播图
 */
export const getHomeSwiper = (params) => {
    // return http.get(BASE + '/banner', params)

    return requestGET(`/banner?type=${params.type}`)
}
/*
 * 2.私人定制 获取最新的音乐  /personalized/newsong
 * */
export const getPrivateMusic = (params) => {
    return requestGET(`/mv/exclusive/rcmd?limit=${params.limit}&offset=${params.offset}` )
}